A theory of dependent record types with structural subtyping

نویسنده

  • Yangyue Feng
چکیده

Type theory stemmed from the philosophical discussion on foundation of logic and set theory, and aroused interest from researchers in logic and formalism who gave it a clear format based on the λ-calculi. With the growth of the discipline of computing, various forms of type theory have brought in a common interest in developing computer-aided proof assistants. From this multi-disciplinary nature and development of type theory, it has clearly become a pluralistic subject of study that contains elements from philosophy, logic, foundation of mathematics, computing science, and even linguistics, etc. In this thesis, I present and study a type system of dependent record types. Dependent record types (DRTs) are types of records in which the type of a field may depend on the value of an earlier field. In this thesis, I prove several metatheoretic properties, such as structural properties, subject reduction, strong normalisation and Church-Rosser property of DRTs as defined with the logical framework LF, using the method of typed operational semantics first developed by Goguen. I also study how structural subtyping may be applied to DRTs, by extending the type theory LF and DRTs with coercive subtyping, and prove that the resulting set of coercions is coherent. This work makes dependent record types a possible theoretical basis for modelling module mechanisms in computer languages.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Structural subtyping for inductive types with functorial equality rules

Subtyping for inductive types in dependent type theories is studied in the framework of coercive subtyping. General structural subtyping rules for parameterised inductive types are formulated based on the notion of inductive schemata. Certain extensional equality rules play an important role in proving some of the crucial properties of the type system with these subtyping rules. In particular, ...

متن کامل

On the Theory of Structural Subtyping

We show that the first-order theory of structural subtyping of non-recursive types is decidable. Let Σ be a language consisting of function symbols (representing type constructors) and C a decidable structure in the relational language L containing a binary relation ≤. C represents primitive types; ≤ represents a subtype ordering. We introduce the notion of Σ-term-power of C, which generalizes ...

متن کامل

Internship report: Uniform and non-structural subtyping

We expose a new approach to tackle non-structural subtyping problems. We introduce uniform subtyping as a means to capture some properties of non-structural subtyping. In the uniform theory, we show that the validity of a first-order sentence is decidable, and entailment is PSPACEhard. In addition, we give decidable approximations to entailment and subtyping constrained types — two problems whi...

متن کامل

Dependent Record Types

iii Abstract This work contains investigations on the formal correctness and use of an extension of Martin-L of's type theory with dependent record types and subtyping. We put forward the adequacy of dependent record types as a natural type theoretic setting for expressing the notion of abstract data type | in particular we explore the formal representation of systems of algebras | and for the...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010